﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ST.Torch.WebApi.Application.System.Dtos
{
    /// <summary>
    /// 文件目录
    /// </summary>
    public class FileMenu
    {
        /// <summary>
        /// 是不是目录
        /// </summary>
        public bool IsDirectory { get; set; }
        /// <summary>
        /// 文件大小
        /// </summary>
        public string Length { get; set; }
        /// <summary>
        /// 文件名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 文件地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 下载件地址
        /// </summary>
        public string DownloadUrl { get; set; }

        /// <summary>
        /// 文件更新时间
        /// </summary>
        public DateTimeOffset UpdateTime { get; set; }

        /// <summary>
        /// 缩略图地址
        /// </summary>
        public string Thumbnail { get; set; }



        /// <summary>
        /// 
        /// </summary>
        public List<FileMenu> Data { get; set; }
    }

}
